package com.xhu.rjsx2;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


/**
 * @MapperScan(basePackages = "com.xhu.rjsx2.mapper")把这个位置的Mapper接口交给Spring动态管理
 */
@EnableSwagger2
@MapperScan(basePackages = "com.xhu.rjsx2.mapper")
@SpringBootApplication
@EnableAutoConfiguration(exclude = {SecurityAutoConfiguration.class})
public class Rjsx2Application {

    public static void main(String[] args) {
        SpringApplication.run(Rjsx2Application.class, args);
    }

}
